﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using NPredictor.DictionaryPredictor;

namespace NPredictor.Tests
{
	[TestFixture]
	public class DictionaryPredictorTestsCase: AbstractWordPredictorTest
	{
		protected override IWordPredictor<int>  CreatePredictor()
		{
			return new DictionaryPredictor<int>((x, y) =>
			{
				if (x == y) return 0;
				return x < y ? 1 : -1;
			}
												);
		}
	}
}
